package cn.ito.zjgsu.utils.impl;

import java.util.UUID;

import org.springframework.stereotype.Component;

import cn.ito.zjgsu.utils.PrimaryKeyGenerator;

@Component
public class GUIDPrimaryKey implements PrimaryKeyGenerator{

	@Override
	public String generatePrimarkKey() {
		return UUID.randomUUID().toString();
	}

}
